// JavaScript Document
	xmlHttpMenuAd = false;//�����˵�
	xmlHttpBannerAd = false;//banner
	xmlHttpZPBannerAd = false;//խ��banner
	xmlHttp2F1Ad = false;//���յ���һ
	xmlHttp2F2Ad = false;//���յ�����
	xmlHttp4F1Ad = false;//ŷʽ�ɿ�������һ
	xmlHttp4F2Ad = false;//ŷʽ�ɿ���������
	xmlHttp6F1Ad = false;//�ʻ�һ
	xmlHttp6F2Ad = false;//�ʻ���
	xmlHttp8F1Ad = false;//��������һ
	xmlHttp8F2Ad = false;//�������϶�
	xmlHttp10F1Ad = false;//��ɫ����һ
	xmlHttp10F2Ad = false;//��ɫ������
	
	xmlHttp3FAd = false;//�Ҳమ�鵰��
	xmlHttp5FAd = false;//�Ҳ�Ľ˹����
	xmlHttp7FAd = false;//�Ҳ࿨ͨ����
	xmlHttp9FAd = false;//�Ҳ���ҵ�û�
	xmlHttp11FAd = false;//�Ҳ�����
	xmlHttp12FAd = false;//�Ҳ��ʻ��ٿ�
	
	xmlHttpZP2FAd = false;//խ�����յ���
	xmlHttpZP4FAd = false;//խ��ŷʽ����
	xmlHttpZP6FAd = false;//խ���ʻ�
	xmlHttpZP8FAd = false;//խ����������
	xmlHttpZP10Ad = false;//խ����ɫ����
	
	xmlHttpTOPLineAd = false;//�ϲ�����
	
	
	//��������
	function create_MenuAd(){
		try {xmlHttpMenuAd = new XMLHttpRequest();}catch (trymicrosoft) 
			{
			try {xmlHttpMenuAd = new ActiveXObject("Msxml2.XMLHTTP");}catch (othermicrosoft)
				 {
				try {xmlHttpMenuAd = new ActiveXObject("Microsoft.XMLHTTP");} catch (failed) 
					{
						xmlHttpMenuAd = false;
					}
				}
			}
		if (!xmlHttpMenuAd)
		{
			alert('�޷����� XMLHttpRequest ����!');
		}
	}
	//banner����
	function create_BannerAd(){
		try {xmlHttpBannerAd = new XMLHttpRequest();}catch (trymicrosoft) 
			{
			try {xmlHttpBannerAd = new ActiveXObject("Msxml2.XMLHTTP");}catch (othermicrosoft)
				 {
				try {xmlHttpBannerAd = new ActiveXObject("Microsoft.XMLHTTP");} catch (failed) 
					{
						xmlHttpBannerAd = false;
					}
				}
			}
		if (!xmlHttpBannerAd)
		{
			alert('�޷����� XMLHttpRequest ����!');
		}
	}
	//խ��banner����
	function create_ZPBannerAd(){
		try {xmlHttpZPBannerAd = new XMLHttpRequest();}catch (trymicrosoft) 
			{
			try {xmlHttpZPBannerAd = new ActiveXObject("Msxml2.XMLHTTP");}catch (othermicrosoft)
				 {
				try {xmlHttpZPBannerAd = new ActiveXObject("Microsoft.XMLHTTP");} catch (failed) 
					{
						xmlHttpZPBannerAd = false;
					}
				}
			}
		if (!xmlHttpZPBannerAd)
		{
			alert('�޷����� XMLHttpRequest ����!');
		}
	}
	
	//���յ���һ����
	function create_2F1Ad(){
		try {xmlHttp2F1Ad = new XMLHttpRequest();}catch (trymicrosoft) 
			{
			try {xmlHttp2F1Ad = new ActiveXObject("Msxml2.XMLHTTP");}catch (othermicrosoft)
				 {
				try {xmlHttp2F1Ad = new ActiveXObject("Microsoft.XMLHTTP");} catch (failed) 
					{
						xmlHttp2F1Ad = false;
					}
				}
			}
		if (!xmlHttp2F1Ad)
		{
			alert('�޷����� XMLHttpRequest ����!');
		}
	}
	//���յ���������
	function create_2F2Ad(){
		try {xmlHttp2F2Ad = new XMLHttpRequest();}catch (trymicrosoft) 
			{
			try {xmlHttp2F2Ad = new ActiveXObject("Msxml2.XMLHTTP");}catch (othermicrosoft)
				 {
				try {xmlHttp2F2Ad = new ActiveXObject("Microsoft.XMLHTTP");} catch (failed) 
					{
						xmlHttp2F2Ad = false;
					}
				}
			}
		if (!xmlHttp2F2Ad)
		{
			alert('�޷����� XMLHttpRequest ����!');
		}
	}
	
	//ŷʽ�ɿ�������һ����
	function create_4F1Ad(){
		try {xmlHttp4F1Ad = new XMLHttpRequest();}catch (trymicrosoft) 
			{
			try {xmlHttp4F1Ad = new ActiveXObject("Msxml2.XMLHTTP");}catch (othermicrosoft)
				 {
				try {xmlHttp4F1Ad = new ActiveXObject("Microsoft.XMLHTTP");} catch (failed) 
					{
						xmlHttp4F1Ad = false;
					}
				}
			}
		if (!xmlHttp4F1Ad)
		{
			alert('�޷����� XMLHttpRequest ����!');
		}
	}
	//ŷʽ�ɿ�������������
	function create_4F2Ad(){
		try {xmlHttp4F2Ad = new XMLHttpRequest();}catch (trymicrosoft) 
			{
			try {xmlHttp4F2Ad = new ActiveXObject("Msxml2.XMLHTTP");}catch (othermicrosoft)
				 {
				try {xmlHttp4F2Ad = new ActiveXObject("Microsoft.XMLHTTP");} catch (failed) 
					{
						xmlHttp4F2Ad = false;
					}
				}
			}
		if (!xmlHttp4F2Ad)
		{
			alert('�޷����� XMLHttpRequest ����!');
		}
	}
	
	//�ʻ�һ����
	function create_6F1Ad(){
		try {xmlHttp6F1Ad = new XMLHttpRequest();}catch (trymicrosoft) 
			{
			try {xmlHttp6F1Ad = new ActiveXObject("Msxml2.XMLHTTP");}catch (othermicrosoft)
				 {
				try {xmlHttp6F1Ad = new ActiveXObject("Microsoft.XMLHTTP");} catch (failed) 
					{
						xmlHttp6F1Ad = false;
					}
				}
			}
		if (!xmlHttp6F1Ad)
		{
			alert('�޷����� XMLHttpRequest ����!');
		}
	}
	//�ʻ�������
	function create_6F2Ad(){
		try {xmlHttp6F2Ad = new XMLHttpRequest();}catch (trymicrosoft) 
			{
			try {xmlHttp6F2Ad = new ActiveXObject("Msxml2.XMLHTTP");}catch (othermicrosoft)
				 {
				try {xmlHttp6F2Ad = new ActiveXObject("Microsoft.XMLHTTP");} catch (failed) 
					{
						xmlHttp6F2Ad = false;
					}
				}
			}
		if (!xmlHttp6F2Ad)
		{
			alert('�޷����� XMLHttpRequest ����!');
		}
	}
	
	//��������һ����
	function create_8F1Ad(){
		try {xmlHttp8F1Ad = new XMLHttpRequest();}catch (trymicrosoft) 
			{
			try {xmlHttp8F1Ad = new ActiveXObject("Msxml2.XMLHTTP");}catch (othermicrosoft)
				 {
				try {xmlHttp8F1Ad = new ActiveXObject("Microsoft.XMLHTTP");} catch (failed) 
					{
						xmlHttp8F1Ad = false;
					}
				}
			}
		if (!xmlHttp8F1Ad)
		{
			alert('�޷����� XMLHttpRequest ����!');
		}
	}
	
	//�������϶�����
	function create_8F2Ad(){
		try {xmlHttp8F2Ad = new XMLHttpRequest();}catch (trymicrosoft) 
			{
			try {xmlHttp8F2Ad = new ActiveXObject("Msxml2.XMLHTTP");}catch (othermicrosoft)
				 {
				try {xmlHttp8F2Ad = new ActiveXObject("Microsoft.XMLHTTP");} catch (failed) 
					{
						xmlHttp8F2Ad = false;
					}
				}
			}
		if (!xmlHttp8F2Ad)
		{
			alert('�޷����� XMLHttpRequest ����!');
		}
	}
	
	//��ɫ����һ����
	function create_10F1Ad(){
		try {xmlHttp10F1Ad = new XMLHttpRequest();}catch (trymicrosoft) 
			{
			try {xmlHttp10F1Ad = new ActiveXObject("Msxml2.XMLHTTP");}catch (othermicrosoft)
				 {
				try {xmlHttp10F1Ad = new ActiveXObject("Microsoft.XMLHTTP");} catch (failed) 
					{
						xmlHttp10F1Ad = false;
					}
				}
			}
		if (!xmlHttp10F1Ad)
		{
			alert('�޷����� XMLHttpRequest ����!');
		}
	}
	
	//��ɫ����������
	function create_10F2Ad(){
		try {xmlHttp10F2Ad = new XMLHttpRequest();}catch (trymicrosoft) 
			{
			try {xmlHttp10F2Ad = new ActiveXObject("Msxml2.XMLHTTP");}catch (othermicrosoft)
				 {
				try {xmlHttp10F2Ad = new ActiveXObject("Microsoft.XMLHTTP");} catch (failed) 
					{
						xmlHttp10F2Ad = false;
					}
				}
			}
		if (!xmlHttp10F2Ad)
		{
			alert('�޷����� XMLHttpRequest ����!');
		}
	}
	
	//�Ҳమ�鵰������
	function create_3FAd(){
		try {xmlHttp3FAd = new XMLHttpRequest();}catch (trymicrosoft) 
			{
			try {xmlHttp3FAd = new ActiveXObject("Msxml2.XMLHTTP");}catch (othermicrosoft)
				 {
				try {xmlHttp3FAd = new ActiveXObject("Microsoft.XMLHTTP");} catch (failed) 
					{
						xmlHttp3FAd = false;
					}
				}
			}
		if (!xmlHttp3FAd)
		{
			alert('�޷����� XMLHttpRequest ����!');
		}
	}
	
	//�Ҳ�Ľ˹��������
	function create_5FAd(){
		try {xmlHttp5FAd = new XMLHttpRequest();}catch (trymicrosoft) 
			{
			try {xmlHttp5FAd = new ActiveXObject("Msxml2.XMLHTTP");}catch (othermicrosoft)
				 {
				try {xmlHttp5FAd = new ActiveXObject("Microsoft.XMLHTTP");} catch (failed) 
					{
						xmlHttp5FAd = false;
					}
				}
			}
		if (!xmlHttp5FAd)
		{
			alert('�޷����� XMLHttpRequest ����!');
		}
	}
	
	//�Ҳ࿨ͨ��������
	function create_7FAd(){
		try {xmlHttp7FAd = new XMLHttpRequest();}catch (trymicrosoft) 
			{
			try {xmlHttp7FAd = new ActiveXObject("Msxml2.XMLHTTP");}catch (othermicrosoft)
				 {
				try {xmlHttp7FAd = new ActiveXObject("Microsoft.XMLHTTP");} catch (failed) 
					{
						xmlHttp7FAd = false;
					}
				}
			}
		if (!xmlHttp7FAd)
		{
			alert('�޷����� XMLHttpRequest ����!');
		}
	}
	//�Ҳ���ҵ�û�����
	function create_9FAd(){
		try {xmlHttp9FAd = new XMLHttpRequest();}catch (trymicrosoft) 
			{
			try {xmlHttp9FAd = new ActiveXObject("Msxml2.XMLHTTP");}catch (othermicrosoft)
				 {
				try {xmlHttp9FAd = new ActiveXObject("Microsoft.XMLHTTP");} catch (failed) 
					{
						xmlHttp9FAd = false;
					}
				}
			}
		if (!xmlHttp9FAd)
		{
			alert('�޷����� XMLHttpRequest ����!');
		}
	}
	
	//�Ҳ����ƹ���
	function create_11FAd(){
		try {xmlHttp11FAd = new XMLHttpRequest();}catch (trymicrosoft) 
			{
			try {xmlHttp11FAd = new ActiveXObject("Msxml2.XMLHTTP");}catch (othermicrosoft)
				 {
				try {xmlHttp11FAd = new ActiveXObject("Microsoft.XMLHTTP");} catch (failed) 
					{
						xmlHttp11FAd = false;
					}
				}
			}
		if (!xmlHttp11FAd)
		{
			alert('�޷����� XMLHttpRequest ����!');
		}
	}
	//�Ҳ��ʻ��ٿƹ���
	function create_12FAd(){
		try {xmlHttp12FAd = new XMLHttpRequest();}catch (trymicrosoft) 
			{
			try {xmlHttp12FAd = new ActiveXObject("Msxml2.XMLHTTP");}catch (othermicrosoft)
				 {
				try {xmlHttp12FAd = new ActiveXObject("Microsoft.XMLHTTP");} catch (failed) 
					{
						xmlHttp12FAd = false;
					}
				}
			}
		if (!xmlHttp12FAd)
		{
			alert('�޷����� XMLHttpRequest ����!');
		}
	}
	
	//խ�����յ�������
	function create_ZP2FAd(){
		try {xmlHttpZP2FAd = new XMLHttpRequest();}catch (trymicrosoft) 
			{
			try {xmlHttpZP2FAd = new ActiveXObject("Msxml2.XMLHTTP");}catch (othermicrosoft)
				 {
				try {xmlHttpZP2FAd = new ActiveXObject("Microsoft.XMLHTTP");} catch (failed) 
					{
						xmlHttpZP2FAd = false;
					}
				}
			}
		if (!xmlHttpZP2FAd)
		{
			alert('�޷����� XMLHttpRequest ����!');
		}
	}
	//խ��ŷʽ��������
	function create_ZP4FAd(){
		try {xmlHttpZP4FAd = new XMLHttpRequest();}catch (trymicrosoft) 
			{
			try {xmlHttpZP4FAd = new ActiveXObject("Msxml2.XMLHTTP");}catch (othermicrosoft)
				 {
				try {xmlHttpZP4FAd = new ActiveXObject("Microsoft.XMLHTTP");} catch (failed) 
					{
						xmlHttpZP4FAd = false;
					}
				}
			}
		if (!xmlHttpZP4FAd)
		{
			alert('�޷����� XMLHttpRequest ����!');
		}
	}
	//խ���ʻ�����
	function create_ZP6FAd(){
		try {xmlHttpZP6FAd = new XMLHttpRequest();}catch (trymicrosoft) 
			{
			try {xmlHttpZP6FAd = new ActiveXObject("Msxml2.XMLHTTP");}catch (othermicrosoft)
				 {
				try {xmlHttpZP6FAd = new ActiveXObject("Microsoft.XMLHTTP");} catch (failed) 
					{
						xmlHttpZP6FAd = false;
					}
				}
			}
		if (!xmlHttpZP6FAd)
		{
			alert('�޷����� XMLHttpRequest ����!');
		}
	}
	//խ���������Ϲ���
	function create_ZP8FAd(){
		try {xmlHttpZP8FAd = new XMLHttpRequest();}catch (trymicrosoft) 
			{
			try {xmlHttpZP8FAd = new ActiveXObject("Msxml2.XMLHTTP");}catch (othermicrosoft)
				 {
				try {xmlHttpZP8FAd = new ActiveXObject("Microsoft.XMLHTTP");} catch (failed) 
					{
						xmlHttpZP8FAd = false;
					}
				}
			}
		if (!xmlHttpZP8FAd)
		{
			alert('�޷����� XMLHttpRequest ����!');
		}
	}
	//խ����ɫ��������
	function create_ZP10FAd(){
		try {xmlHttpZP10FAd = new XMLHttpRequest();}catch (trymicrosoft) 
			{
			try {xmlHttpZP10FAd = new ActiveXObject("Msxml2.XMLHTTP");}catch (othermicrosoft)
				 {
				try {xmlHttpZP10FAd = new ActiveXObject("Microsoft.XMLHTTP");} catch (failed) 
					{
						xmlHttpZP10FAd = false;
					}
				}
			}
		if (!xmlHttpZP10FAd)
		{
			alert('�޷����� XMLHttpRequest ����!');
		}
	}
	//ͷ������
	function create_TOPLineAd(){
		try {xmlHttpTOPLineAd = new XMLHttpRequest();}catch (trymicrosoft) 
			{
			try {xmlHttpTOPLineAd = new ActiveXObject("Msxml2.XMLHTTP");}catch (othermicrosoft)
				 {
				try {xmlHttpTOPLineAd = new ActiveXObject("Microsoft.XMLHTTP");} catch (failed) 
					{
						xmlHttpTOPLineAd = false;
					}
				}
			}
		if (!xmlHttpTOPLineAd)
		{
			alert('�޷����� XMLHttpRequest ����!');
		}
	}
	
	
	
	 //ajax��ȡmenuͼƬ
	 function getMenuAd(){
		create_MenuAd();
		xmlHttpMenuAd.open("GET","/include/getAd.php?type=MenuAd&r="+Math.random(),true);
		xmlHttpMenuAd.setRequestHeader("If-Modified-Since","0");
	    xmlHttpMenuAd.setRequestHeader("cache-control","nocache"); 
  		
		xmlHttpMenuAd.onreadystatechange=function(){
		   if(xmlHttpMenuAd.readyState==4&&xmlHttpMenuAd.status==200){   
			  
			   str=xmlHttpMenuAd.responseText; 
			    ad=new Array();//��ά����
			
				ads=new Array();
				ad_titles=new Array();
			   ads=str.split("@");
			   
				for(var i=0; i<ads.length;i++){
					ad_titles=ads[i].split("|");
					ad[i]=ad_titles;
				}
			   $("#MenuAd1").html('<a href="'+ad[0][1]+'" target="_blank"><img src="/imgbanner/'+ad[0][3]+'.jpg" width="205" height="155" style="margin-top:5px; " /></a><a href="'+ad[1][1]+'" target="_blank"><img src="/imgbanner/'+ad[1][3]+'.jpg" width="205" height="155" style="margin-top:5px; "/></a>');
			   
			   $("#MenuAd2").html('<a href="'+ad[2][1]+'" target="_blank"><img src="/imgbanner/'+ad[2][3]+'.jpg" /></a>');
			   $("#MenuAd3").html('<a href="'+ad[3][1]+'" target="_blank"><img src="/imgbanner/'+ad[3][3]+'.jpg" /></a>');
			   $("#MenuAd4").html('<a href="'+ad[4][1]+'" target="_blank"><img src="/imgbanner/'+ad[4][3]+'.jpg" style="float:left;" /></a><a href="'+ad[5][1]+'" target="_blank"><img src="/imgbanner/'+ad[5][3]+'.jpg" style="float:right;" /></a> ');
			   
			   $("#MenuAd5").html('<a href="'+ad[6][1]+'" target="_blank"><img src="/imgbanner/'+ad[6][3]+'.jpg" style="float:left;" /></a>');
			   $("#MenuAd6").html('<a href="'+ad[7][1]+'" target="_blank"><img src="/imgbanner/'+ad[7][3]+'.jpg" /></a>');
			   $("#MenuAd7").html('<a href="'+ad[8][1]+'" target="_blank"><img src="/imgbanner/'+ad[8][3]+'.jpg" /></a>');
			   $("#MenuAd8").html('<a href="'+ad[9][1]+'" target="_blank"><img src="/imgbanner/'+ad[9][3]+'.jpg" /></a>');
			   $("#MenuAd9").html('<a href="'+ad[10][1]+'" target="_blank"><img src="/imgbanner/'+ad[10][3]+'.jpg" style="float:left;"/></a><a href="'+ad[11][1]+'" target="_blank"><img src="/imgbanner/'+ad[11][3]+'.jpg" style="float:right;" /></a> ');
			   
			   $("#MenuAd10").html('<a href="'+ad[12][1]+'" target="_blank"><img src="/imgbanner/'+ad[12][3]+'.jpg" style="float:left;" /></a>');
			   $("#MenuAd11").html('<a href="'+ad[13][1]+'" target="_blank"><img src="/imgbanner/'+ad[13][3]+'.jpg" style="float:left;" /></a><a href="'+ad[14][1]+'" target="_blank"><img src="/imgbanner/'+ad[14][3]+'.jpg" style="float:left; margin-left:6px" /></a><a href="'+ad[15][1]+'" target="_blank"><img src="/imgbanner/'+ad[15][3]+'.jpg"  style="float:right;" /></a>');
			   
			   $("#MenuAd12").html('<a href="'+ad[16][1]+'" target="_blank"><img src="/imgbanner/'+ad[16][3]+'.jpg" style="float:left;" /></a><a href="'+ad[17][1]+'" target="_blank"><img src="/imgbanner/'+ad[17][3]+'.jpg" style="float:left; margin-left:6px" /></a><a href="'+ad[18][1]+'" target="_blank"><img src="/imgbanner/'+ad[18][3]+'.jpg" style="float:right;" /></a>');
                
                
			}   
			} 
		
		xmlHttpMenuAd.send(null);
		
	 } 
	 
	 
	 //ajax��ȡbannerͼƬ
	 function getBannerAd(){
		create_BannerAd();
		xmlHttpBannerAd.open("GET","/include/getAd.php?type=BannerAd&r="+Math.random(),true);
		xmlHttpBannerAd.setRequestHeader("If-Modified-Since","0");
	    xmlHttpBannerAd.setRequestHeader("cache-control","nocache"); 
  		
		xmlHttpBannerAd.onreadystatechange=function(){
		   if(xmlHttpBannerAd.readyState==4&&xmlHttpBannerAd.status==200){   
			  
			   str=xmlHttpBannerAd.responseText; 
			    ad=new Array();//��ά����
			
				ads=new Array();
				ad_titles=new Array();
			   ads=str.split("@");
			   
			   str_shu="";
			   str_li="";
				for(var i=0; i<ads.length;i++){
					if(i==0){on="class='on'";}
					else on='';
					str_shu+="<li "+on+">"+(i+1)+"</li>";
					
				}
				for(var i=0; i<ads.length;i++){
					
					ad_titles=ads[i].split("|");
					ad[i]=ad_titles;
					
					str_li+='<a href="'+ad[i][1]+'" target="_blank"><img src="/imgbanner/'+ad[i][3]+'.jpg" width="980" height="400" /></a>';
					
				}
			    $("#banner_shuzi").html(str_shu);
			    $("#banner_list").html(str_li);                
			}   
			} 
		
		xmlHttpBannerAd.send(null);
		
	 } 
	 
	 //ajax��ȡխ��bannerͼƬ
	 function getZPBannerAd(){
		create_ZPBannerAd();
		xmlHttpZPBannerAd.open("GET","/include/getAd.php?type=ZPBannerAd&r="+Math.random(),true);
		xmlHttpZPBannerAd.setRequestHeader("If-Modified-Since","0");
	    xmlHttpZPBannerAd.setRequestHeader("cache-control","nocache"); 
  		
		xmlHttpZPBannerAd.onreadystatechange=function(){
		   if(xmlHttpZPBannerAd.readyState==4&&xmlHttpZPBannerAd.status==200){   
			  
			    str=xmlHttpZPBannerAd.responseText; 
				
			    ad=new Array();//��ά����
			
				ads=new Array();
				ad_titles=new Array();
			   ads=str.split("@");
			   
			   str_shu="";
			   str_li="";
				
				for(var i=0; i<ads.length;i++){
					
					ad_titles=ads[i].split("|");
					ad[i]=ad_titles;
					
					str_shu+='<li class="J_slide_item"><a href="'+ad[i][1]+'" target="_blank"><img src="/imgbanner/'+ad[i][3]+'.jpg" alt="" /></a></li>';
					
					str_li+='<li><a href="'+ad[i][1]+'" target="_blank">'+ad[i][0]+'</a></li>';
					
				}
			    $("#J_slide_list").html(str_shu);
				
				$("#J_slide_trigger").html(str_li);                
			}   
			} 
		xmlHttpZPBannerAd.send(null);
		
	 } 
	 
	 //ajax��ȡ���յ���һͼƬ
	 function get2F1Ad(){
		create_2F1Ad();
		xmlHttp2F1Ad.open("GET","/include/getAd.php?type=2F1Ad&r="+Math.random(),true);
		xmlHttp2F1Ad.setRequestHeader("If-Modified-Since","0");
	    xmlHttp2F1Ad.setRequestHeader("cache-control","nocache"); 
  		
		xmlHttp2F1Ad.onreadystatechange=function(){
		   if(xmlHttp2F1Ad.readyState==4&&xmlHttp2F1Ad.status==200){   
			  
			   str=xmlHttp2F1Ad.responseText; 
				
				
			    ad=new Array();//��ά����
				ads=new Array();
				ad_titles=new Array();
			    ads=str.split("@");
				
			   if(ads.length==1){
					dis="style='display:none'"; }
				else{
					dis="style='display:block'";}
					
			   str_shu="<ul "+dis+">";
			   str_li="";
			   
				for(var i=0; i<ads.length;i++){
					if(i==0){on="class='on'";}
					else on='';
					
					str_shu+="<li "+on+">"+(i+1)+"</li>";
					
				}
				for(var i=0; i<ads.length;i++){
					ad_titles=ads[i].split("|");
					ad[i]=ad_titles;
					str_li+='<a href="'+ad[i][1]+'" target="_blank"><img src="/imgbanner/'+ad[i][3]+'.jpg" width="300" height="300"  /></a>';
					
				}
			    $("#banner_1").html(str_shu+"</ul>");
			    $("#banner_list1").html(str_li);        
			}   
			} 
		
		xmlHttp2F1Ad.send(null);
		
	 } 
	 //ajax��ȡ���յ�����ͼƬ
	 function get2F2Ad(){
		create_2F2Ad();
		xmlHttp2F2Ad.open("GET","/include/getAd.php?type=2F2Ad&r="+Math.random(),true);
		xmlHttp2F2Ad.setRequestHeader("If-Modified-Since","0");
	    xmlHttp2F2Ad.setRequestHeader("cache-control","nocache"); 
  		
		xmlHttp2F2Ad.onreadystatechange=function(){
		   if(xmlHttp2F2Ad.readyState==4&&xmlHttp2F2Ad.status==200){   
			  
			   str=xmlHttp2F2Ad.responseText; 
				
			    ad=new Array();//��ά����
				ads=new Array();
				ad_titles=new Array();
			    ads=str.split("@");
				
			   if(ads.length==1){
					dis="style='display:none'"; }
				else{
					dis="style='display:block'";}
					
			   str_shu="<ul "+dis+">";
			   str_li="";
			   
				for(var i=0; i<ads.length;i++){
					if(i==0){on="class='on'";}
					else on='';
					
					str_shu+="<li "+on+">"+(i+1)+"</li>";
					
				}
				for(var i=0; i<ads.length;i++){
					ad_titles=ads[i].split("|");
					ad[i]=ad_titles;
					str_li+='<a href="'+ad[i][1]+'" target="_blank"><img src="/imgbanner/'+ad[i][3]+'.jpg"  width="300" height="300" /></a>';
					
				}
			    $("#banner_2").html(str_shu+"</ul>");
			    $("#banner_list2").html(str_li);        
			}   
			} 
		
		xmlHttp2F2Ad.send(null);
		
	 } 
	 
	 //ajax��ȡŷʽ�ɿ���һͼƬ
	 function get4F1Ad(){
		create_4F1Ad();
		xmlHttp4F1Ad.open("GET","/include/getAd.php?type=4F1Ad&r="+Math.random(),true);
		xmlHttp4F1Ad.setRequestHeader("If-Modified-Since","0");
	    xmlHttp4F1Ad.setRequestHeader("cache-control","nocache"); 
  		
		xmlHttp4F1Ad.onreadystatechange=function(){
		   if(xmlHttp4F1Ad.readyState==4&&xmlHttp4F1Ad.status==200){   
			  
			   str=xmlHttp4F1Ad.responseText; 
				
			    ad=new Array();//��ά����
				ads=new Array();
				ad_titles=new Array();
			    ads=str.split("@");
				
			   if(ads.length==1){
					dis="style='display:none'"; }
				else{
					dis="style='display:block'";}
					
			   str_shu="<ul "+dis+">";
			   str_li="";
			   
				for(var i=0; i<ads.length;i++){
					if(i==0){on="class='on'";}
					else on='';
					
					str_shu+="<li "+on+">"+(i+1)+"</li>";
					
				}
				for(var i=0; i<ads.length;i++){
					ad_titles=ads[i].split("|");
					ad[i]=ad_titles;
					str_li+='<a href="'+ad[i][1]+'" target="_blank"><img src="/imgbanner/'+ad[i][3]+'.jpg" width="300" height="300"  /></a>';
					
				}
			    $("#banner_3").html(str_shu+"</ul>");
			    $("#banner_list3").html(str_li);        
			}   
			} 
		
		xmlHttp4F1Ad.send(null);
		
	 } 
	 
	 //ajax��ȡŷʽ�ɿ�����ͼƬ
	 function get4F2Ad(){
		create_4F2Ad();
		xmlHttp4F2Ad.open("GET","/include/getAd.php?type=4F2Ad&r="+Math.random(),true);
		xmlHttp4F2Ad.setRequestHeader("If-Modified-Since","0");
	    xmlHttp4F2Ad.setRequestHeader("cache-control","nocache"); 
  		
		xmlHttp4F2Ad.onreadystatechange=function(){
		   if(xmlHttp4F2Ad.readyState==4&&xmlHttp4F2Ad.status==200){   
			  
			   str=xmlHttp4F2Ad.responseText; 
				
			    ad=new Array();//��ά����
				ads=new Array();
				ad_titles=new Array();
			    ads=str.split("@");
				
			   if(ads.length==1){
					dis="style='display:none'"; }
				else{
					dis="style='display:block'";}
					
			   str_shu="<ul "+dis+">";
			   str_li="";
			   
				for(var i=0; i<ads.length;i++){
					if(i==0){on="class='on'";}
					else on='';
					
					str_shu+="<li "+on+">"+(i+1)+"</li>";
					
				}
				for(var i=0; i<ads.length;i++){
					ad_titles=ads[i].split("|");
					ad[i]=ad_titles;
					str_li+='<a href="'+ad[i][1]+'" target="_blank"><img src="/imgbanner/'+ad[i][3]+'.jpg" width="300" height="300"  /></a>';
					
				}
			    $("#banner_4").html(str_shu+"</ul>");
			    $("#banner_list4").html(str_li);        
			}   
			} 
		
		xmlHttp4F2Ad.send(null);
		
	 } 
	 
	 //ajax��ȡ�ʻ�һͼƬ
	 function get6F1Ad(){
		create_6F1Ad();
		xmlHttp6F1Ad.open("GET","/include/getAd.php?type=6F1Ad&r="+Math.random(),true);
		xmlHttp6F1Ad.setRequestHeader("If-Modified-Since","0");
	    xmlHttp6F1Ad.setRequestHeader("cache-control","nocache"); 
  		
		xmlHttp6F1Ad.onreadystatechange=function(){
		   if(xmlHttp6F1Ad.readyState==4&&xmlHttp6F1Ad.status==200){   
			  
			    str=xmlHttp6F1Ad.responseText; 
				
			    ad=new Array();//��ά����
				ads=new Array();
				ad_titles=new Array();
			    ads=str.split("@");
				
			   if(ads.length==1){
					dis="style='display:none'"; }
				else{
					dis="style='display:block'";}
					
			   str_shu="<ul "+dis+">";
			   str_li="";
			   
				for(var i=0; i<ads.length;i++){
					if(i==0){on="class='on'";}
					else on='';
					
					str_shu+="<li "+on+">"+(i+1)+"</li>";
					
				}
				for(var i=0; i<ads.length;i++){
					ad_titles=ads[i].split("|");
					ad[i]=ad_titles;
					str_li+='<a href="'+ad[i][1]+'" target="_blank"><img src="/imgbanner/'+ad[i][3]+'.jpg" width="300" height="300"  /></a>';
					
				}
			    $("#banner_5").html(str_shu+"</ul>");
			    $("#banner_list5").html(str_li);        
			}   
			} 
		
		xmlHttp6F1Ad.send(null);
		
	 } 
	  //ajax��ȡ�ʻ���ͼƬ
	 function get6F2Ad(){
		create_6F2Ad();
		xmlHttp6F2Ad.open("GET","/include/getAd.php?type=6F2Ad&r="+Math.random(),true);
		xmlHttp6F2Ad.setRequestHeader("If-Modified-Since","0");
	    xmlHttp6F2Ad.setRequestHeader("cache-control","nocache"); 
  		
		xmlHttp6F2Ad.onreadystatechange=function(){
		   if(xmlHttp6F2Ad.readyState==4&&xmlHttp6F2Ad.status==200){   
			  
			    str=xmlHttp6F2Ad.responseText; 
				
			    ad=new Array();//��ά����
				ads=new Array();
				ad_titles=new Array();
			    ads=str.split("@");
				
			   if(ads.length==1){
					dis="style='display:none'"; }
				else{
					dis="style='display:block'";}
					
			   str_shu="<ul "+dis+">";
			   str_li="";
			   
				for(var i=0; i<ads.length;i++){
					if(i==0){on="class='on'";}
					else on='';
					
					str_shu+="<li "+on+">"+(i+1)+"</li>";
					
				}
				for(var i=0; i<ads.length;i++){
					ad_titles=ads[i].split("|");
					ad[i]=ad_titles;
					str_li+='<a href="'+ad[i][1]+'" target="_blank"><img src="/imgbanner/'+ad[i][3]+'.jpg" width="300" height="300"  /></a>';
					
				}
			    $("#banner_6").html(str_shu+"</ul>");
			    $("#banner_list6").html(str_li);        
			}   
			} 
		
		xmlHttp6F2Ad.send(null);
		
	 } 
	 //ajax��ȡ��������һͼƬ
	 function get8F1Ad(){
		create_8F1Ad();
		xmlHttp8F1Ad.open("GET","/include/getAd.php?type=8F1Ad&r="+Math.random(),true);
		xmlHttp8F1Ad.setRequestHeader("If-Modified-Since","0");
	    xmlHttp8F1Ad.setRequestHeader("cache-control","nocache"); 
  		
		xmlHttp8F1Ad.onreadystatechange=function(){
		   if(xmlHttp8F1Ad.readyState==4&&xmlHttp8F1Ad.status==200){   
			  
			    str=xmlHttp8F1Ad.responseText; 
				
			    ad=new Array();//��ά����
				ads=new Array();
				ad_titles=new Array();
			    ads=str.split("@");
				
			   if(ads.length==1){
					dis="style='display:none'"; }
				else{
					dis="style='display:block'";}
					
			   str_shu="<ul "+dis+">";
			   str_li="";
			   
				for(var i=0; i<ads.length;i++){
					if(i==0){on="class='on'";}
					else on='';
					
					str_shu+="<li "+on+">"+(i+1)+"</li>";
					
				}
				for(var i=0; i<ads.length;i++){
					ad_titles=ads[i].split("|");
					ad[i]=ad_titles;
					str_li+='<a href="'+ad[i][1]+'" target="_blank"><img src="/imgbanner/'+ad[i][3]+'.jpg" width="300" height="300"  /></a>';
					
				}
			    $("#banner_7").html(str_shu+"</ul>");
			    $("#banner_list7").html(str_li);        
			}   
			} 
		xmlHttp8F1Ad.send(null);
		
	 } 
	 //ajax��ȡ�������϶�ͼƬ
	 function get8F2Ad(){
		create_8F2Ad();
		xmlHttp8F2Ad.open("GET","/include/getAd.php?type=8F2Ad&r="+Math.random(),true);
		xmlHttp8F2Ad.setRequestHeader("If-Modified-Since","0");
	    xmlHttp8F2Ad.setRequestHeader("cache-control","nocache"); 
  		
		xmlHttp8F2Ad.onreadystatechange=function(){
		   if(xmlHttp8F2Ad.readyState==4&&xmlHttp8F2Ad.status==200){   
			  
			    str=xmlHttp8F2Ad.responseText; 
				
			    ad=new Array();//��ά����
				ads=new Array();
				ad_titles=new Array();
			    ads=str.split("@");
				
			   if(ads.length==1){
					dis="style='display:none'"; }
				else{
					dis="style='display:block'";}
					
			   str_shu="<ul "+dis+">";
			   str_li="";
			   
				for(var i=0; i<ads.length;i++){
					if(i==0){on="class='on'";}
					else on='';
					
					str_shu+="<li "+on+">"+(i+1)+"</li>";
					
				}
				for(var i=0; i<ads.length;i++){
					ad_titles=ads[i].split("|");
					ad[i]=ad_titles;
					str_li+='<a href="'+ad[i][1]+'" target="_blank"><img src="/imgbanner/'+ad[i][3]+'.jpg" width="300" height="300" /></a>';
				}
				
			    $("#banner_8").html(str_shu+"</ul>");
			    $("#banner_list8").html(str_li);
			}   
			} 
		
		xmlHttp8F2Ad.send(null);
		
	 } 
	 //ajax��ȡ��ɫ����һͼƬ
	 function get10F1Ad(){
		create_10F1Ad();
		xmlHttp10F1Ad.open("GET","/include/getAd.php?type=10F1Ad&r="+Math.random(),true);
		xmlHttp10F1Ad.setRequestHeader("If-Modified-Since","0");
	    xmlHttp10F1Ad.setRequestHeader("cache-control","nocache"); 
  		
		xmlHttp10F1Ad.onreadystatechange=function(){
		   if(xmlHttp10F1Ad.readyState==4&&xmlHttp10F1Ad.status==200){   
			  
			    str=xmlHttp10F1Ad.responseText; 
				
			    ad=new Array();//��ά����
				ads=new Array();
				ad_titles=new Array();
			    ads=str.split("@");
				
			   if(ads.length==1){
					dis="style='display:none'"; }
				else{
					dis="style='display:block'";}
					
			   str_shu="<ul "+dis+">";
			   str_li="";
			   
				for(var i=0; i<ads.length;i++){
					if(i==0){on="class='on'";}
					else on='';
					
					str_shu+="<li "+on+">"+(i+1)+"</li>";
					
				}
				for(var i=0; i<ads.length;i++){
					ad_titles=ads[i].split("|");
					ad[i]=ad_titles;
					str_li+='<a href="'+ad[i][1]+'" target="_blank"><img src="/imgbanner/'+ad[i][3]+'.jpg" width="300" height="300" /></a>';
				}
				
			    $("#banner_9").html(str_shu+"</ul>");
			    $("#banner_list9").html(str_li);
			}   
			} 
		
		xmlHttp10F1Ad.send(null);
		
	 } 
	 
	 //ajax��ȡ��ɫ������ͼƬ
	 function get10F2Ad(){
		create_10F2Ad();
		xmlHttp10F2Ad.open("GET","/include/getAd.php?type=10F2Ad&r="+Math.random(),true);
		xmlHttp10F2Ad.setRequestHeader("If-Modified-Since","0");
	    xmlHttp10F2Ad.setRequestHeader("cache-control","nocache"); 
  		
		xmlHttp10F2Ad.onreadystatechange=function(){
		   if(xmlHttp10F2Ad.readyState==4&&xmlHttp10F2Ad.status==200){   
			  
			    str=xmlHttp10F2Ad.responseText; 
				
			    ad=new Array();//��ά����
				ads=new Array();
				ad_titles=new Array();
			    ads=str.split("@");
				
			   if(ads.length==1){
					dis="style='display:none'"; }
				else{
					dis="style='display:block'";}
					
			   str_shu="<ul "+dis+">";
			   str_li="";
			   
				for(var i=0; i<ads.length;i++){
					if(i==0){on="class='on'";}
					else on='';
					
					str_shu+="<li "+on+">"+(i+1)+"</li>";
					
				}
				for(var i=0; i<ads.length;i++){
					ad_titles=ads[i].split("|");
					ad[i]=ad_titles;
					str_li+='<a href="'+ad[i][1]+'" target="_blank"><img src="/imgbanner/'+ad[i][3]+'.jpg" width="300" height="300" /></a>';
				}
				
			    $("#banner_10").html(str_shu+"</ul>");
			    $("#banner_list10").html(str_li);
			}   
			} 
		
		xmlHttp10F2Ad.send(null);
		
	 } 
	 
	 //ajax��ȡ�Ұ��鵰��ͼƬ
	 function get3FAd(){
		create_3FAd();
		xmlHttp3FAd.open("GET","/include/getAd.php?type=3FAd&r="+Math.random(),true);
		xmlHttp3FAd.setRequestHeader("If-Modified-Since","0");
	    xmlHttp3FAd.setRequestHeader("cache-control","nocache"); 
  		
		xmlHttp3FAd.onreadystatechange=function(){
		   if(xmlHttp3FAd.readyState==4&&xmlHttp3FAd.status==200){   
			  
			    str=xmlHttp3FAd.responseText; 
				
			    ad=new Array();//��ά����
				ads=new Array();
				ad_titles=new Array();
			    ads=str.split("@");
				
				str_li="";
				
				for(var i=0; i<ads.length;i++){
					ad_titles=ads[i].split("|");
					ad[i]=ad_titles;
					str_li+='<div class="tj2Ad'+(i+1)+'Div"><a href="'+ad[i][1]+'" target="_blank"><img src="/imgbanner/'+ad[i][3]+'.jpg" border="0" /></a></div>';
				}
				
				
			    $("#rightAd1").html(str_li);
			}   
			} 
		
		xmlHttp3FAd.send(null);
		
	 } 
	 //ajax��ȡ��Ľ˹����ͼƬ
	 function get5FAd(){
		create_5FAd();
		xmlHttp5FAd.open("GET","/include/getAd.php?type=5FAd&r="+Math.random(),true);
		xmlHttp5FAd.setRequestHeader("If-Modified-Since","0");
	    xmlHttp5FAd.setRequestHeader("cache-control","nocache"); 
  		
		xmlHttp5FAd.onreadystatechange=function(){
		   if(xmlHttp5FAd.readyState==4&&xmlHttp5FAd.status==200){   
			  
			    str=xmlHttp5FAd.responseText; 
				
			    ad=new Array();//��ά����
				ads=new Array();
				ad_titles=new Array();
			    ads=str.split("@");
				
				str_li="";
				
				for(var i=0; i<ads.length;i++){
					ad_titles=ads[i].split("|");
					ad[i]=ad_titles;
					str_li+='<div class="tj2Ad'+(i+1)+'Div"><a href="'+ad[i][1]+'" target="_blank"><img src="/imgbanner/'+ad[i][3]+'.jpg" border="0" /></a></div>';
				}
				
				
			    $("#rightAd2").html(str_li);
			}   
			} 
		
		xmlHttp5FAd.send(null);
		
	 } 
	  //ajax��ȡ�ҿ�ͨ����ͼƬ
	 function get7FAd(){
		create_7FAd();
		xmlHttp7FAd.open("GET","/include/getAd.php?type=7FAd&r="+Math.random(),true);
		xmlHttp7FAd.setRequestHeader("If-Modified-Since","0");
	    xmlHttp7FAd.setRequestHeader("cache-control","nocache"); 
  		
		xmlHttp7FAd.onreadystatechange=function(){
		   if(xmlHttp7FAd.readyState==4&&xmlHttp7FAd.status==200){   
			  
			    str=xmlHttp7FAd.responseText; 
				
			    ad=new Array();//��ά����
				ads=new Array();
				ad_titles=new Array();
			    ads=str.split("@");
				
				str_li="";
				
				for(var i=0; i<ads.length;i++){
					ad_titles=ads[i].split("|");
					ad[i]=ad_titles;
					str_li+='<div class="tj2Ad'+(i+1)+'Div"><a href="'+ad[i][1]+'" target="_blank"><img src="/imgbanner/'+ad[i][3]+'.jpg" border="0" /></a></div>';
				}
				
				
			    $("#rightAd3").html(str_li);
			}   
			} 
		
		xmlHttp7FAd.send(null);
		
	 } 
	  //ajax��ȡ����ҵ�û�ͼƬ
	 function get9FAd(){
		create_9FAd();
		xmlHttp9FAd.open("GET","/include/getAd.php?type=9FAd&r="+Math.random(),true);
		xmlHttp9FAd.setRequestHeader("If-Modified-Since","0");
	    xmlHttp9FAd.setRequestHeader("cache-control","nocache"); 
  		
		xmlHttp9FAd.onreadystatechange=function(){
		   if(xmlHttp9FAd.readyState==4&&xmlHttp9FAd.status==200){   
			  
			    str=xmlHttp9FAd.responseText; 
				
			    ad=new Array();//��ά����
				ads=new Array();
				ad_titles=new Array();
			    ads=str.split("@");
				
				str_li="";
				
				for(var i=0; i<ads.length;i++){
					ad_titles=ads[i].split("|");
					ad[i]=ad_titles;
					str_li+='<div class="tj2Ad'+(i+1)+'Div"><a href="'+ad[i][1]+'" target="_blank"><img src="/imgbanner/'+ad[i][3]+'.jpg" border="0" /></a></div>';
				}
				
				
			    $("#rightAd4").html(str_li);
			}   
			} 
		
		xmlHttp9FAd.send(null);
		
	 } 
	 //ajax��ȡ�Һ���ͼƬ
	 function get11FAd(){
		create_11FAd();
		xmlHttp11FAd.open("GET","/include/getAd.php?type=11FAd&r="+Math.random(),true);
		xmlHttp11FAd.setRequestHeader("If-Modified-Since","0");
	    xmlHttp11FAd.setRequestHeader("cache-control","nocache"); 
  		
		xmlHttp11FAd.onreadystatechange=function(){
		   if(xmlHttp11FAd.readyState==4&&xmlHttp11FAd.status==200){   
			  
			    str=xmlHttp11FAd.responseText; 
				
				ad=new Array();//��ά����
				ad= str.split("|");
				str_li="";
				
				str_li+='<a href="'+ad[1]+'" target="_blank"><img src="/imgbanner/'+ad[3]+'.jpg" border="0" /></a>';
				
				
			    $("#rightAd5").html(str_li);
			}   
			} 
		
		xmlHttp11FAd.send(null);
		
	 } 
	 //ajax��ȡ���ʻ��ٿ�ͼƬ
	 function get12FAd(){
		create_12FAd();
		xmlHttp12FAd.open("GET","/include/getAd.php?type=12FAd&r="+Math.random(),true);
		xmlHttp12FAd.setRequestHeader("If-Modified-Since","0");
	    xmlHttp12FAd.setRequestHeader("cache-control","nocache"); 
  		
		xmlHttp12FAd.onreadystatechange=function(){
		   if(xmlHttp12FAd.readyState==4&&xmlHttp12FAd.status==200){   
			  
			    str=xmlHttp12FAd.responseText; 
				
			    ad=new Array();//��ά����
				ads=new Array();
				ad_titles=new Array();
			    ads=str.split("@");
				
				str_li="";
				
				for(var i=0; i<ads.length;i++){
					ad_titles=ads[i].split("|");
					ad[i]=ad_titles;
					str_li+='<a href="'+ad[i][1]+'" target="_blank"><img src="/imgbanner/'+ad[i][3]+'.jpg" border="0" /></a>';
				}
				
			    $("#rightAd6").html(str_li);
			}   
			} 
		
		xmlHttp12FAd.send(null);
		
	 } 
	 //ajax��ȡխ�����յ���ͼƬ
	 function getZP2FAd(){
		create_ZP2FAd();
		xmlHttpZP2FAd.open("GET","/include/getAd.php?type=ZP2FAd&r="+Math.random(),true);
		xmlHttpZP2FAd.setRequestHeader("If-Modified-Since","0");
	    xmlHttpZP2FAd.setRequestHeader("cache-control","nocache"); 
  		
		xmlHttpZP2FAd.onreadystatechange=function(){
		   if(xmlHttpZP2FAd.readyState==4&&xmlHttpZP2FAd.status==200){   
			  
			    str=xmlHttpZP2FAd.responseText; 
			    ad=new Array();//��ά����
				ads=new Array();
				ad_titles=new Array();
			    ads=str.split("@");
				
				
				for(var i=0; i<ads.length;i++){
					ad_titles=ads[i].split("|");
					ad[i]=ad_titles;
					if(i==0){
					$("#Z_ad1").html('<a href="'+ad[i][1]+'" target="_blank"><img src="/imgbanner/'+ad[i][3]+'.jpg" border="0" /></a>');
					}if(i==1){
					$("#Z_ad2").html('<a href="'+ad[i][1]+'" target="_blank"><img src="/imgbanner/'+ad[i][3]+'.jpg" border="0" /></a>');
					}
				}
				
			    
			}   
			} 
		
		xmlHttpZP2FAd.send(null);
		
	 } 
	//ajax��ȡŷʽ����ͼƬ
	 function getZP4FAd(){
		create_ZP4FAd();
		xmlHttpZP4FAd.open("GET","/include/getAd.php?type=ZP4FAd&r="+Math.random(),true);
		xmlHttpZP4FAd.setRequestHeader("If-Modified-Since","0");
	    xmlHttpZP4FAd.setRequestHeader("cache-control","nocache"); 
  		
		xmlHttpZP4FAd.onreadystatechange=function(){
		   if(xmlHttpZP4FAd.readyState==4&&xmlHttpZP4FAd.status==200){   
			  
			    str=xmlHttpZP4FAd.responseText; 
			    ad=new Array();//��ά����
				ads=new Array();
				ad_titles=new Array();
			    ads=str.split("@");
				
				
				for(var i=0; i<ads.length;i++){
					ad_titles=ads[i].split("|");
					ad[i]=ad_titles;
					if(i==0){
					$("#Z_ad3").html('<a href="'+ad[i][1]+'" target="_blank"><img src="/imgbanner/'+ad[i][3]+'.jpg" border="0" /></a>');
					}if(i==1){
					$("#Z_ad4").html('<a href="'+ad[i][1]+'" target="_blank"><img src="/imgbanner/'+ad[i][3]+'.jpg" border="0" /></a>');
					}
				}
				
			    
			}   
			} 
		
		xmlHttpZP4FAd.send(null);
		
	 } 
	//ajax��ȡխ���ʻ�ͼƬ
	 function getZP6FAd(){
		create_ZP6FAd();
		xmlHttpZP6FAd.open("GET","/include/getAd.php?type=ZP6FAd&r="+Math.random(),true);
		xmlHttpZP6FAd.setRequestHeader("If-Modified-Since","0");
	    xmlHttpZP6FAd.setRequestHeader("cache-control","nocache"); 
  		
		xmlHttpZP6FAd.onreadystatechange=function(){
		   if(xmlHttpZP6FAd.readyState==4&&xmlHttpZP6FAd.status==200){   
			  
			    str=xmlHttpZP6FAd.responseText; 
			    ad=new Array();//��ά����
				ads=new Array();
				ad_titles=new Array();
			    ads=str.split("@");
				
				
				for(var i=0; i<ads.length;i++){
					ad_titles=ads[i].split("|");
					ad[i]=ad_titles;
					if(i==0){
					$("#Z_ad5").html('<a href="'+ad[i][1]+'" target="_blank"><img src="/imgbanner/'+ad[i][3]+'.jpg" border="0" /></a>');
					}if(i==1){
					$("#Z_ad6").html('<a href="'+ad[i][1]+'" target="_blank"><img src="/imgbanner/'+ad[i][3]+'.jpg" border="0" /></a>');
					}
				}
				
			    
			}   
			} 
		
		xmlHttpZP6FAd.send(null);
		
	 } 
	
		//ajax��ȡխ����������ͼƬ
	 function getZP8FAd(){
		create_ZP8FAd();
		xmlHttpZP8FAd.open("GET","/include/getAd.php?type=ZP8FAd&r="+Math.random(),true);
		xmlHttpZP8FAd.setRequestHeader("If-Modified-Since","0");
	    xmlHttpZP8FAd.setRequestHeader("cache-control","nocache"); 
  		
		xmlHttpZP8FAd.onreadystatechange=function(){
		   if(xmlHttpZP8FAd.readyState==4&&xmlHttpZP8FAd.status==200){   
			  
			    str=xmlHttpZP8FAd.responseText; 
			    ad=new Array();//��ά����
				ads=new Array();
				ad_titles=new Array();
			    ads=str.split("@");
				
				
				for(var i=0; i<ads.length;i++){
					ad_titles=ads[i].split("|");
					ad[i]=ad_titles;
					if(i==0){
					$("#Z_ad7").html('<a href="'+ad[i][1]+'" target="_blank"><img src="/imgbanner/'+ad[i][3]+'.jpg" border="0" /></a>');
					}if(i==1){
					$("#Z_ad8").html('<a href="'+ad[i][1]+'" target="_blank"><img src="/imgbanner/'+ad[i][3]+'.jpg" border="0" /></a>');
					}
				}
				
			}   
			} 
		
		xmlHttpZP8FAd.send(null);
		
	 } 
	 
	 		//ajax��ȡխ����ɫ����ͼƬ
	 function getZP10FAd(){
		create_ZP10FAd();
		xmlHttpZP10FAd.open("GET","/include/getAd.php?type=ZP10FAd&r="+Math.random(),true);
		xmlHttpZP10FAd.setRequestHeader("If-Modified-Since","0");
	    xmlHttpZP10FAd.setRequestHeader("cache-control","nocache"); 
  		
		xmlHttpZP10FAd.onreadystatechange=function(){
		   if(xmlHttpZP10FAd.readyState==4&&xmlHttpZP10FAd.status==200){   
			  
			    str=xmlHttpZP10FAd.responseText; 
			    ad=new Array();//��ά����
				ads=new Array();
				ad_titles=new Array();
			    ads=str.split("@");
				
				
				for(var i=0; i<ads.length;i++){
					ad_titles=ads[i].split("|");
					ad[i]=ad_titles;
					if(i==0){
					$("#Z_ad9").html('<a href="'+ad[i][1]+'" target="_blank"><img src="/imgbanner/'+ad[i][3]+'.jpg" border="0" /></a>');
					}if(i==1){
					$("#Z_ad10").html('<a href="'+ad[i][1]+'" target="_blank"><img src="/imgbanner/'+ad[i][3]+'.jpg" border="0" /></a>');
					}
				}
				
			}   
			} 
		
		xmlHttpZP10FAd.send(null);
		
	 } 
	
	 //ajaxͷ������
	 function getTOPLineAd(){
		create_TOPLineAd();
		xmlHttpTOPLineAd.open("GET","/include/getAd.php?type=TOPLineAd&r="+Math.random(),true);
		xmlHttpTOPLineAd.setRequestHeader("If-Modified-Since","0");
	    xmlHttpTOPLineAd.setRequestHeader("cache-control","nocache"); 
  		
		xmlHttpTOPLineAd.onreadystatechange=function(){
		   if(xmlHttpTOPLineAd.readyState==4&&xmlHttpTOPLineAd.status==200){   
			  
			    str=xmlHttpTOPLineAd.responseText; 
				
			    ad=new Array();//��ά����
				ad=str.split("|");
				
				
				$("#adLineDiv_topad").html('<a href="'+ad[1]+'" target="_blank"><img src="/imgbanner/'+ad[3]+'.jpg" border="0" width="978" height="58" /></a>');
				
			
			    
			}   
			} 
		
		xmlHttpTOPLineAd.send(null);
		
	 } 
	